home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: creating new windows
- Sent: 3/19/96 9:02 AM
- Received: 3/19/96 9:21 AM
- From: lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Now I found that if I pass an ODFrame as the parent frame,
- >when I close the parent frame's window, both windows are closed and OpenDoc
- >quits.
-
-
- I think this is the right behavior you want. But, to go around the assert
- problem you could still pass NULL for the parent frame and keep track of
- the newly created frame in the source frame. When the source frame goes
- away (in FW_CFrame::FrameRemoved) you could call
- FW_CWindow::CloseAndRemove on the window of the secondary frame. Instead
- of having ODF keeping track of the link it should be easy to do it
- yourself. Look into the FW_CPresentation how view in Window is done. I
- will anyway look into the assert problem.
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-
-